package models;


/**
 * This model saves the relation between the created tutorial and another chosen tutorial
 * by different types of relations
 * @author Yasmin G.
 */
import javax.persistence.Entity;
import javax.persistence.*;
import play.db.jpa.Model;
import 	play.db.jpa.*;

@Entity
public class Relation  extends Model {
  public String TutorialTitle;
  public String relatedTutTitle;
  public String relType;
  
  public String getTutorialTitle() {
	return TutorialTitle;
}

public void setTutorialTitle(String tutorialTitle) {
	TutorialTitle = tutorialTitle;
}

public String getRelatedTutTitle() {
	return relatedTutTitle;
}

public void setRelatedTutTitle(String newTutTitle) {
	relatedTutTitle = newTutTitle;
}

public String getRelType() {
	return relType;
}

public void setRelType(String relType) {
	this.relType = relType;
}


  
  public Relation(String TutorialTitle, String relatedTutTitle, String relType){
	  this.TutorialTitle = TutorialTitle;
	  this.relatedTutTitle = relatedTutTitle;
	  this.relType = relType;
  }
}
